module.exports = {
  lintOnSave: false,
  productionSourceMap: false,
  transpileDependencies: ['marked'],
  devServer: {
    port: 5000,
    proxy: {
      '^/api': {
        target: 'http://localhost/api', //对应自己的接口
        changeOrigin: true,
        ws: true,
        pathRewrite: {
          '^/api': '/'
        }
      }
    }
  }
}